<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich" xml:lang="en">
<head>
<title>考核方案查看</title>
<meta http-equiv="keywords" content="enter,your,keywords,here" />
<meta http-equiv="description"
	content="A short description of this page." />
<link href="#{facesContext.externalContext.requestContextPath}/css/public.css" rel="stylesheet" type="text/css"
	media="screen" />
<link href="#{facesContext.externalContext.requestContextPath}/css/main.css" rel="stylesheet" type="text/css"
	media="screen" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<!-- rich:message style-->
<style type="text/css">
	.rich-message-label{
		color:red;
	}
</style>
</head>
<body style="background-color: #ffffff">
<h:form>
	<div id="right">
	<div class="error pt10p bcf c0 tal" style="display: ">
		<a4j:outputPanel id="msgPanel">
			<center><h:outputText styleClass="cff"
				value="#{QualifyforBB.msg}" /></center>
		</a4j:outputPanel>
	</div>
	<div class="tablelist">
	<table width="100%" border="1" cellpadding="0" cellspacing="0"
		bordercolor="#c3c3c3" style="border-collapse: collapse">
		<tr>
			<td><span class="cff">*</span>考核名称<h:inputText
				class="style_input" value="#{QualifyforBB.examinebank.tp_e_aim}" disabled="true"/></td>
			<td><span class="cff">*</span>技能组<h:selectOneMenu
				class="style_input" value="#{QualifyforBB.examinebank.tp_userkind}" disabled="true">
				<f:selectItems value="#{paramBB.selectItems_param}" />
			</h:selectOneMenu></td>
		</tr>
		<tr>
			<td class="yellow"><span class="cff">*</span>开始日期 <rich:calendar id="begindate"
				datePattern="yyyy-MM-dd" value="#{QualifyforBB.examinebank.tp_usedbegin}"
				required="false" disabled="true"/></td>
			<td class="yellow"><span class="cff">*</span>终止日期 <rich:calendar id="enddate"
				value="#{QualifyforBB.examinebank.tp_usedend}" datePattern="yyyy-MM-dd"
				required="false" disabled="true"/></td>
		</tr>
		<tr>
			<td><span class="cff">*</span>时间要求(分钟)<h:inputText
				class="style_input" value="#{QualifyforBB.examinebank.tp_t_time}" disabled="true"/></td>
			<td></td>
		</tr>
		<tr>
			<td class="yellow" colspan="2"><span class="cff">*</span>备注信息 <label> <h:inputTextarea
				class="style_textarea" value="#{QualifyforBB.examinebank.tp_e_mark}" readonly="true"/>
			</label></td>
		</tr>
	</table>
	</div>
	<br />
	已添加试题
	<rich:dataTable rowClasses=",yellow" width="100%" id="subjecttable"
		value="#{QualifyforBB.questionsbanks}" var="table">
		<a4j:keepAlive beanName="QualifyforBB" />
		<f:facet name="header">
			<rich:columnGroup>
				<rich:column>
					<h:outputText value="选择" />
				</rich:column>
				<rich:column>
					<h:outputText value="office" />
				</rich:column>
				<rich:column>
					<h:outputText value="题目" />
				</rich:column>
				<rich:column>
					<h:outputText value="答案代码" />
				</rich:column>
				<rich:column>
					<h:outputText value="答案描述" />
				</rich:column>
				<rich:column>
					<h:outputText value="题目类型" />
				</rich:column>
				<rich:column>
					<h:outputText value="题目类别" />
				</rich:column>
				<rich:column>
					<h:outputText value="分值" />
				</rich:column>
				<rich:column>
					<h:outputText value="技能组" />
				</rich:column>
				<rich:column>
					<h:outputText value="添加状态" />
				</rich:column>
				<rich:column>
					<h:outputText value="操作人" />
				</rich:column>
				<rich:column>
					<h:outputText value="操作日期" />
				</rich:column>
			</rich:columnGroup>
		</f:facet>
		<rich:columnGroup>
			<rich:column>
				<h:selectBooleanCheckbox value="#{table.select}" />
			</rich:column>
			<rich:column>
				<h:outputText value="#{table.office_code_value}" />
			</rich:column>
			<rich:column>
				<h:outputText value="#{table.tp_question}" >
					<f:converter converterId="HeadingConverter"/>
				</h:outputText>
			</rich:column>
			<rich:column>
				<h:outputText value="#{table.tp_answer_code}" />
			</rich:column>
			<rich:column>
				<h:outputText value="#{table.tp_answer}"  >
					<f:converter converterId="HeadingConverter"/>
				</h:outputText>
			</rich:column>
			<rich:column>
				<h:outputText value="#{table.tp_question_type_value}" />
			</rich:column>
			<rich:column>
				<h:outputText value="#{table.tp_classid_value}" />
			</rich:column>
			<rich:column>
				<h:outputText value="#{table.tp_point}" />
			</rich:column>
			<rich:column>
				<h:outputText value="#{table.tp_userkind_value}" />
			</rich:column>
			<rich:column>
				<h:outputText style="color:#ff0000;" value="#{table.related}" />
			</rich:column>
			<rich:column>
				<h:outputText value="#{table.op}" />
			</rich:column>
			<rich:column>
				<h:outputText value="#{table.op_date}" >
					<f:convertDateTime pattern="yyyy-MM-dd" timeZone="GMT+8" />
				</h:outputText>
			</rich:column>
		</rich:columnGroup>
	</rich:dataTable>
	<div class="listbut">
		<h:commandButton styleClass="buttonbg" value="返回"
		action="#{QualifyforBB.toBack}" /></div>
	</div>
</h:form>
</body>
</html>
